package apiday02;
/**
 * String replaceAll(String regex ,String s):替换
 * 只要满足正则表达式（regex)的部分给替换为指定字符串
 */
public class ReplaceAllDemo {
    public static void main(String[] args) {
        String s = "sda7r5f6486dsf44f3ds7fa";
        s = s.replaceAll("[0-9]+","@#@#@#@#@#@#");
        System.out.println(s);
    }
}
